package com.weirong.smartvault.dao;

import com.weirong.smartvault.entity.ForeignCurrencyDenomination;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Qualifier("foreignCurrencyDenominationRepository")
public interface ForeignCurrencyDenominationRepository extends CrudRepository<ForeignCurrencyDenomination, Integer> {

    public List<ForeignCurrencyDenomination> getForeignCurrencyDenominationByTypeCode(String typeCode);

    public List<ForeignCurrencyDenomination> getForeignCurrencyDenominationByTypeCodeAndValue(String typeCode, int value);

}
